// css变量
$whiteColor: #fff;
$titleColor: #151515;
$bgColor: #fff;
$hoverColor: #00BC7E;
$orangeColor: #fe6057;
$greenColor: #00BC7E;
$yellowColor: #ffbd2d;
$inputColor: rgb(25, 27, 30,1);

@mixin inputBgColor() {
    background-color:$inputColor;
    &:focus {
        box-sizing: border-box;
        outline: 1px solid $hoverColor;
    }
  }
@mixin buttonBorder($num:6px) {
    border-radius: $num;
    border: 2px solid $whiteColor;
    }

// 全局基本样式
html,
body,
ul,
li,
ol,
dl,
dd,
dt,
p,
h1,
h2,
h3,
h4,
h5,
h6,
form,
fieldset,
legend,
img {
  margin: 0;
  padding: 0;
}

* {
  font-family: PingFang SC, Lantinghei SC, Helvetica Neue, Helvetica, Arial, Microsoft YaHei, 微软雅黑, STHeitiSC-Light,
    simsun, 宋体, WenQuanYi Zen Hei, WenQuanYi Micro Hei, 'sans-serif';
  box-sizing: border-box;
}

fieldset,
img,
input,
button {
  /*fieldset组合表单中的相关元素*/
  border: none;
  padding: 0;
  margin: 0;
  outline-style: none;
}

ul,
ol {
  list-style: none; /*清除列表风格*/
}

input {
  padding-top: 0;
  padding-bottom: 0;
  font-family: 'SimSun', '宋体';
}

select,
input {
  vertical-align: middle;
}

select,
input,
textarea {
  font-size: 12px;
  margin: 0;
}
a {
  text-decoration: none;
  color: inherit;
}
button::after {
  border: none;
}
textarea {
  resize: none;
}

/*防止多行文本框拖动*/
img {
  border: 0;
  vertical-align: middle;
}

/*  去掉图片低测默认的3像素空白缝隙*/
table {
  border-collapse: collapse; /*合并外边线*/
}

@media (prefers-color-scheme: light) {
  :root {
    background-color: #f4f5f6;
  }
}

/* #app{
  width: 100vw;
  height: 100vh;
  display: flex;
} */
#app {
  height: 100%;
}
.wrapper-content {
  width: 1150px;
  margin: 0 auto;
  padding-left: 25px;
  padding-right: 25px;
  position: relative;
}
.page-wrapper {
  margin: 0 auto;
  padding-left: 25px;
  padding-right: 25px;
  position: relative;
}
.text-theme {
  color: #00bc7e;
}

// 页面样式
.privacy-page {
  background-color: $bgColor;
  height: 100%;
}

// 头部导航
.header-nav {
  display: flex;
  justify-content: space-between;
  padding-top: 25px;
  padding-bottom: 25px;
  align-items: center;

  .header-left {
    .logo {
      cursor: pointer;
      font-size: 32px;
      color: $titleColor;
      font-weight: 700;
    }
  }

  .header-right {
    .nav-list {
      display: flex;

      .nav-item {
        font-size: 18px;
        padding: 14px;
        font-weight: 700;
        color: $titleColor;
        transition: all 0.15s ease;

        &.first-item {
          margin-right: 20px;
        }

        &.last-item {
          border-radius: 6px;
          color: $hoverColor;
          background: #00bc7e10;
        }

        &:hover {
          color: $hoverColor;
        }
      }
    }

    .login-list {
      display: none;

      .nav-item {
        border-radius: 6px;
        font-size: 20px;
        font-weight: 700;
        padding: 8px 23px;
        color: $hoverColor;
        background: #00bc7e10;
      }
    }
  }
}

// 主体内容
.page-wrapper {
  margin: 0 auto;
  padding-left: 25px;
  padding-right: 25px;
  position: relative;

  .headline {
    padding-bottom: 50px;
    padding-top: 70px;
  }

  .page-title {
    position: relative;
    z-index: 1;

    .title {
      font-size: 48px;
      font-weight: 800;
      line-height: 1.3;
      margin-bottom: 15px;
      max-width: 580px;
      color: $titleColor;
    }
  }

  .page-content {
    color: $titleColor;

    p {
      font-size: 1.25em;
      font-weight: 500;
      line-height: 1.65;
      padding-bottom: 30px;
    }
  }
}

.small {
  width: 890px;
}

//底部
.footer-nav {
  padding-top: 80px;
  text-align: center;
  padding-bottom: 100px;

  .logo {
    cursor: pointer;
    margin-bottom: 15px;
    color: $titleColor;

    .logo-text {
      font-size: 1.5625em;
      font-weight: 800;
    }
  }

  .navigation-links {
    display: inline-block;
    color: $titleColor;

    li {
      display: inline-block;
    }

    .hover-text-theme {
      display: block;
      font-size: 1.0625em;
      font-weight: 700;
      padding: 19px;
      transition: all 0.15s ease;

      &:hover {
        color: $hoverColor;
      }
    }
  }
}

@media only screen and (max-width: 690px) {
  .header-right {
    .login-list {
      display: block !important;
    }

    .nav-list {
      display: none !important;
    }
  }
}

@media only screen and (max-width: 890px) {
  .hero-screenshot {
    .top-icons {
      display: none;
    }

    .hero-light {
      width: 100% !important;
    }
  }
}

@media only screen and (max-width: 960px) {
  .main-header {
    .introduce-title {
      font-size: 32px;
      line-height: 1.25;
      margin-bottom: 15px;
      max-width: 100%;
    }

    .introduce-text {
      font-size: 1em;
      line-height: 1.6;
      margin-bottom: 30px;
      max-width: 100%;
    }
  }

  .main-features {
    .title {
      font-size: 32px !important;
      line-height: 1.25 !important;
      margin-bottom: 15px !important;
      max-width: 100%;
    }

    .description {
      font-size: 1em !important;
      line-height: 1.6 !important;
      margin-bottom: 30px !important;
      max-width: 100%;
    }

    .page-content {
      display: block;
      margin-top: 40px;

      .features {
        margin-top: 50px;
        padding-left: 0;

        .feature {
          margin-bottom: 35px !important;

          .title {
            font-size: 1.375em !important;
          }
        }
      }
    }
  }

  .get-started {
    .page-title {
      padding-top: 20px !important;

      .title {
        font-size: 32px;
        line-height: 1.25;
        margin-bottom: 15px;
        max-width: 100%;
      }

      .description {
        font-size: 1em;
        line-height: 1.6;
        margin-bottom: 30px;
        max-width: 100%;
      }
    }

    .get-started-button {
      margin-bottom: 30px;
    }

    .cloud-bg {
      display: none;
    }

    .bottom-icons {
      display: none;
    }
  }

  .footer-nav {
    .navigation-links {
      display: block;

      li {
        display: block;
      }
    }
  }
}

@media only screen and (max-width: 1190px) {
  .wrapper-content {
    width: 100%;
  }

  .main-features {
    .page-content {
      .hero {
        flex: 0 0 60%;

        .hero-imgs {
          width: 100% !important;
        }
      }

      .features {
        margin-top: 0;
        padding-left: 25px;
      }
    }
  }
}
